<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{:C('site_name')}></title>
<meta name="keywords" content="<{:C('keyword')}>" />
<meta name="description" content="<{:C('content')}>" />
<link rel="stylesheet" href="<{:STATICS}>/css/bootstrap.min.css" type="text/css" media="all" />
<link rel="stylesheet" href="<{:STATICS}>/css/bootstrap-responsive.min.css" type="text/css" media="all" />
<style type="text/css">
body,input{font-size: 12px;}
</style>
</head>
<script type="text/javascript" src="<{:STATICS}>/js/jquery.min.js"></script>
<script type="text/javascript" src="<{:STATICS}>/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<{:STATICS}>/js/jquery.artDialog.js?skin=aero"></script>
<script type="text/javascript" src="<{:STATICS}>/js/iframeTools.js"></script>
<script type="text/javascript" src="<{:STATICS}>/js/jquery.form.min.js"></script>
<script type="text/javascript">
var domid=art.dialog.data('domid');
// 返回数据到主页面
function returnHomepage(url){
	url = <{:C('UPLOAD_PATH')}> + url ;
	var origin = artDialog.open.origin;
	var dom = origin.document.getElementById(domid);
	var domsrcid=domid+'_src';

	if(origin.document.getElementById(domsrcid)){
	origin.document.getElementById(domsrcid).src=url;
	}
	dom.value=url;
	setTimeout("art.dialog.close()", 500 )
}
</script>
<body>
<form action="<{:U('Upload/savefile')}>" method="post" enctype="multipart/form-data" name="form1">
	<table width=100% style="margin-top:30px;">
		<tr>
			<td align="left" height="40">文件支持的格式：<strong><{:C('file_exts')}></strong></td>
		</tr>
		<tr>
			<td align="left" height="40"><input type="file" name="ImgName" style="width:300px;"></td>
		</tr>
		<tr>
			<td align="left" height="40"><input type="submit" class="btn-info" name="Submit" value="发送到服务器" /></td>
		</tr>
    </table>
</form>
</body>
</html>
